package com.spring.boot.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.RequiredArgsConstructor;

import java.util.Date;

@TableName("data_china_city")
@Data
@NoArgsConstructor
//@RequiredArgsConstructor
public class ChinaCity {
    private Integer id;
    private String pro;
    private String city;
    private String nativeRelative;
    private String asymptomatic;
    private String asymptomaticRelative;
    private String confirmed;
    private String confirmedRelative;
    private String died;
    private String diedRelative;
    private String curConfirm;
    private String crued;
    private String cruedRelative;
    private String cityCode;
    private String administrativeCode;//行政编码
    @TableId("mark")
    private String mark;
    private Date updateTime;
    private Date createTime;

    public ChinaCity(Integer id) {
        this.id = id;
    }
}
